package com.tanhua.manage.mapper;

import com.tanhua.manage.pojo.UserData;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;


@Mapper
@Repository
public interface UserDataMapper {
    public List<UserData> queryIndustry(@Param("sd") Date sd, @Param("ed") Date ed);

    public List<UserData> queryAge(@Param("sd") Date sd, @Param("ed") Date ed);

    public List<UserData> querySex(@Param("sd") Date sd, @Param("ed") Date ed);

    //    public List<UserInfo> queryCity(@Param("sd") Date sd, @Param("ed") Date ed);
    public List<UserData> queryDistribution(@Param("sd") Date sd, @Param("ed") Date ed);

    public List<UserData> queryLocal(@Param("sd") Date sd, @Param("ed") Date ed);
}
